﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OneStop.Calculations
{
    public class SegmentComparer : IComparer<SegmentAbstract>
	{
        int IComparer<SegmentAbstract>.Compare(SegmentAbstract x, SegmentAbstract y)
        {
            return x.depth.CompareTo(y.Depth);
        }
	}
}
